import React, { createRef } from 'react';

export default class Directive extends React.Component {

  inp = createRef(null);

  componentDidMount () {
    this.inp.current.focus();
  }

  render () {
    return (
      <input ref={ this.inp } />
    );
  }

  // redux / mobx

}
